package org.test.ddd.domain.models;

import java.math.BigDecimal;
import java.util.List;

/**
 * 借贷记录仓库基础层
 */
public interface MyLoanRecords extends Iterable<LoanRecord> {
    List<LoanRecord> subList(int from, int size);
    BigDecimal getTotalInterest();
}
